Clear Number Removal Status
The Clear Number Removal Status request clears the removal status from Operator Connect telephone numbers that are currently in "MarkedForRemoval" status, returning them to "Active" status.
Numbers in "ReadyForRemoval" status cannot be cleared through this API.
URI
Copy
{{baseUrl}}/api/v3/oc/action/clear-removal-status
HTTP Method
POST
Request Body
|
Parameter |
Type |
Description |
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
telephoneNumbers |
array of strings |
Lists telephone numbers to clear removal status. Note:
|
Example Request Body
Copy
{
"telephoneNumbers": [
"+14255551212",
"+14255551213"
]
}
Example Response
Copy
{
"data": {
"processedCount": 1
},
"status": "success",
"succeeded": true,
"message": "Removal status successfully cleared for all numbers"
}
HTTP Responses
| ■ | 200 OK |
|
Parameter |
Type |
Description |
|---|---|---|
| processedCount | integer | The total number of telephone numbers that were included in the request and processed by the system, regardless of the outcome (success or failure). |
| successCount | integer | The total number of telephone numbers that were successfully changed from "MarkedForRemoval" to "Active". |